package cn.sylinx.horm.example.benchmark.horm;

import cn.sylinx.horm.example.benchmark.User;
import cn.sylinx.horm.model.anno.Table;

@Table("my_user_horm")
public class UserHORM extends User {

    public static UserHORM of(Long id, String userName, String sex, String upass) {
        UserHORM um = new UserHORM();
        um.setId(id);
        um.setUserName(userName);
        um.setSex(sex);
        um.setUpass(upass);
        return um;
    }
}
